package com.dream.tihai.common.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Valley
 * Created by Valley on 2022/12/13
 */
public class TimeUtils {

    public static String nowToStr(long time){
        Date date = new Date(time);
        SimpleDateFormat format = new SimpleDateFormat("yyyy年MM月dd日HH时mm分ss秒");
        return format.format(date);
    }

}
